package models

type UserInfo struct {
	User     string
	Password string
}
type AccountsTable struct {
	Account  string `json:"account"`
	Password string `json:"password"`
	Number   string `json:"number"`
}
type EtherTable struct {
	Account       string `json:"account"`
	DeployAddress string `json:"deploy_address"`
	Content       string `json:"content"`
	Hash          string `json:"hash"`
	Timestamp     string `json:"timestamp"`
	Author        string `json:"author"`
}

type BalanceTable struct {
	Account   string `json:"account"`
	Object    string `json:"object"`
	Balance   string `json:"balance"`
	Data      string `json:"data"`
	Value     string `json:"value"`
	Timestamp string `json:"timestamp"`
}
type FileInfoTable struct {
	Author       string `json:"author"`
	Content      string `json:"content"`
	ContentShort string `json:"content_short"`
	TimeStamp    string `json:"time_stamp"`
	Hash         string `json:"hash"`
	Title        string `json:"title"`
}
type FileInfo struct {
	Author       string `json:"author"`
	Content      string `json:"content"`
	ContentShort string `json:"content_short"`
	TimeStamp    int64  `json:"time_stamp"`
	Title        string `json:"title"`
}
type ModifyFile struct {
	FName       string
	FPath       string
	FPathName   string
	FileContent string
	Hash        string
}

type SelectFile struct {
	Title     string `json:"Title"`
	Timestamp string `json:"Timestamp"`
	Hash      string `json:"Hash"`
}

type DeploySuccess struct {
	Title     string `json:"Title"`
	Timestamp string `json:"Timestamp"`
	Address   string `json:"Address"`
}
